﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="store.aspx.vb" Inherits="Project4CL.store" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../Login/mallStyles.css" />
</head>
<body>
<form id="form1" runat="server">
<div id="header">
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="http://cis-iis2.temple.edu/Fall2011/434202/TermProjectCL/mallLogo.gif" />
    <div id="logout">
        Welcome <asp:Label runat="server" ID="lblUser"></asp:Label>
        <br />
        <asp:Button ID="btnCart" runat="server" Text="View Cart" /> &nbsp; &nbsp;
        <asp:Button ID="btnLogout" runat="server" Text="Logout" />
    </div>
</div>

<div id="inLeftCol">
</div>

<div id="centerContent">
    
    <p> Welcome to Indiscriminate Online Shopping Experience #3782!</p>
    <div id="contentWrap">
    <asp:Label ID="lblSelStore" runat="server" Text="Please select one of these fine stores to shop at:"></asp:Label><br />
    <asp:DropDownList ID="ddlStore" runat="server" AutoPostBack="true">
        <asp:ListItem Text="--Store List--" Value="0"> </asp:ListItem>
        <asp:ListItem Text="Borowiec" Value="3"></asp:ListItem>
        <asp:ListItem Text="Cole" Value="6"></asp:ListItem>
        <asp:ListItem Text="Bittner & Zhitnitsky" Value="1"></asp:ListItem>
    </asp:DropDownList><br /><br />
    <asp:Label ID="lblSelectDept" visible="false" runat="server" Text="Select a department"></asp:Label><br />
    <asp:DropDownList ID="ddlSelDept" runat="server" AutoPostBack="true" Visible="false">
    <asp:ListItem Value="list" >Dept. List</asp:ListItem>
    </asp:DropDownList><br />
    <br />
    
    <asp:GridView ID="gvProducts" runat="server" AutoGenerateColumns="false" >
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="URL" DataTextField="Desc" HeaderText="Description" />
            <asp:BoundField DataField="Price" HeaderText="Price" DataFormatString="{0:C}"/>
            <asp:TemplateField HeaderText="Quantity">
                <ItemTemplate>
                    <asp:TextBox ID="txtQuantity" runat="server" Width="40px"></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <br />
    <asp:Label ID="lblInfo" runat="server" ForeColor="Red" Text="" Visible="false"></asp:Label><br />
    <asp:Button ID="btnAddCart" runat="server" text="Add to Cart" visible="false"/>
    &nbsp; &nbsp; &nbsp;
    <asp:Button ID="btnContinue" runat="server" Text="Continue" Visible="false" />
    </div>
    </div>
    </form>
    
</body>
</html>
